﻿using LearningEnglish.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LearningEnglish.Controllers.Mock
{
    public class MockUploadFileController : Controller
    {

        [AcceptExAjax]
        [NormalJson]
        public ActionResult UploadImg()
        {            
            var file = HttpContext.Request.Files[0];
            return Json(new { media_id = ZData.FileID }, JsonRequestBehavior.AllowGet);
        }
    }
}